package main

const (
	VERSION              = "1.0"
	code                 = "MAAAwAH0AIAA3ADAIAAxAEIIAAAIAAwAEYAIAAxAEUA"
	CONFIG               = "config.ini"
	SECTION              = "server"
	PORT                 = "port"
	DSN                  = "dsn"
	LOGFILE              = "logFile"
	INFO                 = "[info]"
	ERROR                = "[error]"
	TOKEN_RENEW_TIME     = "tokenRenewTime"
	MAX_OPEN_CONN        = "maxOpenConns"
	MAX_IDLE_CONN        = "maxIdleConns"
	PASSWD_TOO_SHORT     = "login in unsuccess, password lengh must be over 6 numbers including letters"
	USER_NOT_EXIST       = "login in unsuccess, user not exist"
	TOKEN_NOT_EXIST       = "login in unsuccess, token not exist"
	PASSWD_INCORRECT     = "login in unsuccess, username or password is wrong"
	TOKEN_INCORRECT      = "identity recognition unsuccess, token is wrong"
	TOKEN_EXPIED         = "identity recognition unsuccess, token is expired"
	PERMISSION_DENIED    = "permission denied"
	DECODE_PATH_FAILED   = "database operation unsuccess, when scan resource path"
	DECODE_PASSWD_FAILED = "database operation unsuccess, when scan password"
	DECODE_TOKEN_FAILED  = "database operation unsuccess, when scan token and vail time"
	QUERY_PASSWD_FAILED  = "database operation unsuccess, when query password"
	QUERY_PATH_FAILED    = "database operation unsuccess, when query resource path"
	QUERY_TOKEN_FAILED   = "database operation unsuccess, when query token"
	UPDATE_PASSWD_FAILED = "database operation unsuccess, when update password"
	UPDATE_TOKEN_FAILED  = "database operation unsuccess, when update token"
)
